package com.lancoo.znbkxx.teacher.net;

import io.reactivex.ObservableTransformer;
import io.reactivex.Scheduler;
import io.reactivex.SingleTransformer;

/**
 * @author : wealive
 * @date : 2020/5/28 19:56
 * @desc :
 */
interface BaseSchedulerProvider {

    Scheduler computation();

    Scheduler io();

    Scheduler ui();

    Scheduler newThread();

    <T> SingleTransformer<T, T> applySchedulers();

    <T> ObservableTransformer<T, T> schedulers();
}
